import vue from "vue";
const _this = vue.prototype;

const business_order = (params) => _this.$u.http.post('/business/order', params); // 订单列表
const business_cancel = (params) => _this.$u.http.post('/business/cancel', params); // 订单取消
const business_inhouse = (params) => _this.$u.http.post('/business/inhouse', params); // 入住
const business_complete = (params) => _this.$u.http.post('/business/complete', params); // 订单完成
const business_orderInfo = (params) => _this.$u.http.post('/business/orderInfo', params); // 商家订单详情

const applyData = (params) => _this.$u.http.post('/business/applyData', params , {
	'content-type' : 'application/x-www-form-urlencoded'
}); // 
export default {
	applyData ,
	business_orderInfo ,
	business_order ,
	business_cancel ,
	business_inhouse,
	business_complete,
};
